#ifndef GAME_H
#define GAME_H

#include <QObject>
#include <QtGui>
#include <QDebug>

#define P1 true
#define P2 false

struct point{
    int player; // 0 = Not owned, 10 = Human, 20 = computer
    QColor color;
};

class game : public QObject
{
    Q_OBJECT
public:
    explicit game(QObject *parent = 0);
    point pieces[10][10]; // point[x][y] - x = col number, y = row letter. (0,0) is top left corner
    void checkState();

private:
    bool player; // true = player1 turn, false = player2 turn
    QColor human;
    QColor cpu;
};

#endif // GAME_H
